<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>教育经历</title>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/myresume.css" />
</head><body>

 <form action="?" method="post" onsubmit="return Zvalidator.checkForm(this)">
    <table width="100%" class="form">
        <colgroup><col width="100">
        <col width="12">
        </colgroup><tbody><tr>
            <td class="label">学历:</td>
            <td class="aster">*</td>
            <td class="input">
                <select id="degree" name="item[degree]" validator="require">
                    <option value="">请选择</option>
                    <?=Libs_CommonHelper::showSelectOptions(array('data'=>$myResumeConfig['eduDegree'],'selVal'=>$dataInfo['degree']))?>
                </select>
            </td>
        </tr>
        <tr>
            <td class="label">就读时间:</td>
            <td class="aster">*</td>
            <td class="input">
                <select  name="item[startYear]" id="startYear">
                <option value="0">请选择</option>
                <?
                $nowY = date("Y");
                for($i = 2000;$i<=$nowY;$i++){
                    $selCss = $dataInfo['startYear'] == $i ? 'selected="true" ' : '';
                    echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
                }?>
                </select> 年
                <select name="item[startMonth]" id="startMonth">
                <option value="0">请选择</option>
                <?
                for($i = 1;$i<=12;$i++){
                    $selCss = $dataInfo['startMonth'] == $i ? 'selected="true" ' : '';
                    echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
                }?>
                </select> 月
                                至
                <select name="item[endYear]" id="endYear">
		<?php
                            $end_year_class = $end_month_class = $to_now_class = "";
                            if($dataInfo['tonow'] == 1){
                                    $dataInfo['endYear'] = 0;
                                    $dataInfo['endMonth'] = 0;
                                    $to_now_class = "checked";
                             }
                ?>

                <option value="0">请选择</option>
                <?
                $nowY = date("Y");
                for($i = 2000;$i<=$nowY;$i++){
                    $selCss = $dataInfo['endYear'] == $i ? 'selected="true" ' : '';
                    echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
                }?>
                </select> 年
                <select name="item[endMonth]" id="endMonth">
                <option value="0">请选择</option>
                <?
                for($i = 1;$i<=12;$i++){
                    $selCss = $dataInfo['endMonth'] == $i ? 'selected="true" ' : '';
                    echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
                }?>
                </select> 月
		<input type="checkbox" id="tonow" value="1" name="item[tonow]" class="checkbox" <?=$to_now_class?> ><label for="projectenddate-input-present-checkbox" class="checkbox">至今</label>
            </td>
        </tr>
        <tr>
            <td class="label">学校名称:</td>
            <td class="aster">*</td>
            <td class="input">       
                <input type="text" value="<?=$dataInfo['schoolName']?>" maxlength="100" name="item[schoolName]" class="text error-input" id="schoolName"  validator="require" />
            </td>
        </tr>
        <tr>
            <td class="label"></td>
            <td class="aster"></td>
            <td>    
                    <ul id="suggest_result">
                     </ul>
            </td>                     
        </tr>
        <tr>
            <td class="label">专业名称:</td>
            <td class="aster">*</td>
            <td class="input">
                <input type="text"  value="<?=$dataInfo['majorName']?>" maxlength="50" class="text error-input" name="item[majorName]" id="majorName" validator="require" />
            </td>
        </tr>
         <tr>
            <td class="label">班内名次:</td>
            <td></td>
            <td colspan="2" class="input">
                <select name="item[classRank]" id="classRank">
                    <option value="">请选择</option>
                    <?=Libs_CommonHelper::showSelectOptions(array('data'=>$myResumeConfig['eduClassRank'],'selVal'=>$dataInfo['classRank']))?>
                </select>
            </td>
        </tr>
        <tr style="display:none">
            <td class="label">专业分类:</td>
            <td class="aster">*</td>
            <td id="major-linkup" class="input">
                <select  name="item[majorSort1]" id="majorSort1" class="select error-input">
                    <option value="">请选择</option>
                        <option value="1">哲学</option>
                        <option value="2">经济学</option>
                        <option value="3">法学</option>
                        <option value="4">教育学</option>
                        <option value="5">文学</option>
                        <option value="6">历史学</option>
                        <option value="7">理学</option>
                        <option value="8">工学</option>
                        <option value="9">农学</option>
                        <option value="10">医学</option>
                        <option value="11">管理学</option>
                </select>
                <select style="width:150px" name="item[majorSort2]" id="majorSort2>
                </select>
            <span rel="specialty-sort-select" class="error">请选择专业类别</span></td>
        </tr>

        <tr>
            <td class="label">专业描述:</td>
            <td></td>
            <td colspan="2" class="input">
                <textarea name="item[majorDesc]" class="floatleft" id="majorDesc" validator="require"><?=$dataInfo['majorDesc']?></textarea>
                <p class="clear">描述你所学专业的主修课程。（限400字）</p>
            </td>
        </tr>
    </tbody></table>

        
<div class="inputdiv_btn">
    <button type="submit" class="big-default" ><span><span>确 定</span></span></button>
    <button class="normal" onclick="self.parent.tb_remove()" type="button"><span><span>取消</span></span></button>
</div>
<input type="hidden" value="MyResume" name="c"/>
<input type="hidden" value="EduAdd" name="a"/>
<input type="hidden" value="<?=$uid?>" name="uid"/>
<input type="hidden" value="<?=$id?>" name="id"/>
</form>
<script language="javascript" src="js/jquery.js"></script>
<script language="javascript" src="js/validator.js"></script>
<script>
Zvalidator.init();
</script>
<script src="js/jquery.suggest.090327.js" type=text/javascript></script>
<script type=text/javascript>
        jQuery(function() {
            jQuery("#schoolName").suggest("?c=Ajax&a=GetSchoolList",{
                onSelect: function() {}});
        });
</script>
<!--[if IE]>
<SCRIPT LANGUAGE="javascript">
    var $suggestResult = $('#suggest_result');   
    $suggestResult.css("top","94px");
    $suggestResult.css("left","138px");
</SCRIPT>
<![endif]-->
</body>

</html>
